﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _2112A_2_MES.SuJiaHaos
{
    /// <summary>
    /// 统一返回格式
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class Uniform<T>
    {
        public bool Success { get; set; }
        public string Code { get; set; }
        public T Data { get; set; }
        public Uniform(bool success, string code, T data)
        {
            Success = success;
            Code = code;
            Data = data;
        }
    }
}
